<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input {
            /* width: 200px;
            height: 60px;
            font-size: 0; */
            width: 0;
            height: 0;
            padding-left: 200px;
            padding-top: 60px;
            background-color: #ff0;
            position: absolute;
            /* opacity: 0; */

            cursor: pointer;
        }

        div {
            width: 200px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            background-color: #f00;
        }
    </style>
</head>

<body>

    <input type="file">

    <div>点击上传</div>

</body>

</html>